var spr,speaker,text;
spr=argument0
speaker=argument1
text=argument2

draw_set_font(Fontinvmedium)
draw_sprite(sp_dialogbox,0, view_xview+555, view_yview+677)
draw_sprite(sp_square, 0, view_xview+650, view_yview+700)
if spr= o_MAIN.head
{
draw_sprite(spr, 0, view_xview+687, view_yview+770)
}
else
{
draw_sprite(spr, 0, view_xview+650, view_yview+700)
}
draw_text(view_xview+750, view_yview+700, string(speaker) +":")
draw_set_font(FontInfobox)
draw_text(view_xview+750, view_yview+730, string(text))

